import React from 'react';
import classes from './index.module.css';

export default function TextButton({
  children,
  onClick,
}: {
  children: string;
  onClick?: () => void;
}) {
  return (
    <button className={classes.TextButton} onClick={onClick}>
      {children}
    </button>
  );
}
